//
//  PlayViewController.m
//  FairyDream
//
//  Created by dllo on 15/8/20.
//  Copyright (c) 2015年 dreams. All rights reserved.
//

#import "PlayViewController.h"
#define Width 375
#define Height self.view.frame.size.height
@interface PlayViewController ()

@end

@implementation PlayViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor grayColor];
    [self createViewController];
}

- (void)createViewController
{
    // 网址 http://web.breadtrip.com/hunter/products/?city_name=%E5%85%A8%E9%83%A8
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, Width, Height - 49)];
    webView.backgroundColor = [UIColor yellowColor];
    [self.view addSubview:webView];
    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://web.breadtrip.com/hunter/products/?city_name=%E5%85%A8%E9%83%A8"]]];
}











- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
